package com.sun.service.impl;

import com.sun.dao.DemoDao;
import com.sun.entity.SysRole;
import com.sun.service.DemoService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author zhangquanwei
 * @version 1.0
 * @since 2025-03-07 16:02
 */
@Service
public class DemoServiceImpl implements DemoService {

    @Resource
    private DemoDao demoDao;

    @Override
    public List<SysRole> demo01() {
        return demoDao.listA();
    }
}
